package com.cea.papyrus.diagram.classdiagram.tabbedproperties.filters;

import org.eclipse.uml2.uml.Behavior;

import com.cea.papyrus.core.tabbedproperties.UMLElementFilter;

/**
 * Filter for the a section existing for {@link Behavior}s.
 */
public class BehaviorSectionFilter extends UMLElementFilter {

    /**
     * {@inheritDoc}
     */
	public boolean select(Object object) {
        if (super.select(object) && (element instanceof Behavior)) {
        		return true;
        }
        return false;
    }
}
